import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;

//1.导入全局css样式
import "@/assets/global.less";

//2.导入element-ui
//(1)导入包
import ElementUI from "element-ui";
//(2)导入css样式
import "element-ui/lib/theme-chalk/index.css";
//(3)有包：底层注册全局组件 + 全局对象
Vue.use(ElementUI);

//3.导入axios
//执行封装模块js代码
import '@/utils/http.js'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
